<?php
	session_start();
	
	echo "<div class=\"logo\">";
	echo "	<img src=\"logo.png\" alt=\"Payroll and Timesheet Management Website\" />";
	echo "</div>";
	if( isset($_SESSION['tmsUserID']) )
	{
		//<!-- basic user links-->
		echo "<div class=\"user_links\">";
		echo "	<a href=\"main.php\">Main Page</a> &nbsp;&nbsp;|&nbsp;&nbsp;";
		echo "	<a href=\"timesheet.html\">My Current Timesheet</a> &nbsp;&nbsp;|&nbsp;&nbsp;";
		echo "	<a href=\"previoustime.html\">My Timesheets</a> &nbsp;&nbsp;|&nbsp;&nbsp;";
		echo "	<a href=\"search.html\">Find Employee</a> &nbsp;&nbsp;|&nbsp;&nbsp;";
		echo "	<a href=\"controlpanel.html\">Control Panel</a> &nbsp;&nbsp;|&nbsp;&nbsp;";
		echo "	<a href=\"signout.php\">Signout</a>";
		echo "</div>";
		//<!-- only visible if logged in with manager -->
		echo "<div class=\"manager\">";
		echo "	<a href=\"search_results.html?my_employees\">My Employees</a> &nbsp;&nbsp;|&nbsp;&nbsp;";
		echo "	<a href=\"addemployee.html\">Add Employee</a> &nbsp;&nbsp;|&nbsp;&nbsp;";
		echo "	<a href=\"errorsreported.html\">Errors Reported</a> <span class=\"error_cnt\">(2)</span> &nbsp;&nbsp;|&nbsp;&nbsp;";
		echo "	<a href=\"submittedtime.html\">Submitted Timesheets</a> &nbsp;&nbsp;|&nbsp;&nbsp;";
		echo "	<a href=\"reports.html\">Timesheet Reports</a>";
		echo "</div>";
	}
?>